//
//  HJAssetPreviewCell.h
//  KaiChat
//
//  Created by lx on 2023/10/30.
//

#import <UIKit/UIKit.h>
#import "HJPhotoItem.h"
#import "HJPhotoPreviewView.h"

NS_ASSUME_NONNULL_BEGIN

@interface HJAssetPreviewCell : UICollectionViewCell

@property (nonatomic, strong) HJPhotoItem *item;
@property (nonatomic, strong, readonly) UIView *animationView;
@property (nonatomic, strong, readonly) UIView *containView;

- (void)didSingleTap:(UITapGestureRecognizer *)tap;
- (void)didDoubleTap:(UITapGestureRecognizer *)tap;
- (void)showControllView:(BOOL)show animation:(BOOL)animation;
- (void)stop;


@end

@interface HJPhotoPreviewCell : HJAssetPreviewCell

@property (nonatomic, strong) HJPhotoPreviewView *photoPreviewView;


@end


NS_ASSUME_NONNULL_END
